R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
Details
This computes the rank distance correlation between y and x, or between y and each column of x.
References
Shi H., Drton M. and Han F. (2022). Distribution-free consistent independence tests via center-outward ranks and signs. Journal of the American Statistical Association, 117(537): 395--410.
Zhang Q. (2025). On the connections between Chatterjee's correlation and rank distance correlation.
Journal of Nonparametric Statistics, 1--18.